package cn.wolfcode.plus.service;

import cn.wolfcode.plus.domain.Announcement;
import cn.wolfcode.plus.qo.PageResult;
import cn.wolfcode.plus.qo.QueryObject;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * Author wyy
 * Date 2021/2/17 23:32
 **/
public interface IAnnouncementService extends IService<Announcement> {
    //分页列表
    PageResult<Announcement> query(QueryObject qo);

    //给员工添加已读的公告
    void addHasRead(Long eid, Long aid);
}
